<?php
    require('plugin.php');

    if (!isset($_GET['id'])){
        header("HTTP/1.1 404 Not Found");
        exit('invalid parameter:id');
    }

    $mserver=new mserver();
    echo json_encode($mserver->getInfo($_GET['id']));
?>